import sys
from PySide6.QtWidgets import QApplication

from gui.gui_main import MainWindow
import setting as c


if __name__ == '__main__':
    app = QApplication(sys.argv)
    screen = app.primaryScreen().size()
    x = screen.width() - c.win_width  # 窗口右对齐
    y = 100  # 窗口顶对齐
    
    w = MainWindow()
    w.move(x, y)
    w.show()
    app.exec()